<!DOCTYPE html>
<html>
	<head>
		<title>Sock 消息通知系统底层测试</title>
		<meta charset="UTF-8"/>
		<script src="./js/lib/sock.js"></script>
		<script>
var sock = new SockJS('http://localhost:9999/gaubee');
sock.onopen = function() {
	console.log('open');
};
sock.onmessage = function(e) {
	console.log('message', e.data);
};
sock.onclose = function() {
	console.log('close');
};
		</script>
	</head>
	<body>
		
	</body>
</html>